package com.sztu.server.service.impl.auth;

import com.sztu.model.pojo.auth.Admin;
import com.sztu.model.mapper.auth.AdminMapper;
import com.sztu.server.service.auth.IAdminService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 管理员 服务实现类
 * </p>
 *
 * @author xzx
 * @since 2022-10-28
 */
@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements IAdminService {

    @Override
    public Admin getAdminByUserName(String username) {
        return new Admin().setUsername("zhangsan").setPassword("123456");
    }
}
